<%@ page contentType="text/html; charset=gb2312" %>
<%@ page import="com.wonders.ips.common.DoText"%>
<%@ page import="com.wonders.ips.sysadmin.Publish"%>

<%
int id = Integer.parseInt(request.getParameter("id"));

Publish p = new Publish(id);
String content = p.content;

DoText oDoText = new DoText();
content = oDoText.replace(content,"\"","'");
%>

<script language="JavaScript">
<!--
window.opener.demo.setHTML("<%=content%>");
window.close();
//-->
</script>